import Vue from 'vue'
import Router from 'vue-router'
import Realtime from '@/components/Realtime'
import Video from '@/components/Video'
import Upload from '@/components/Upload'
import Manager from '@/components/Manager'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/realtime',
      name: 'Realtime',
      component: Realtime
    },
    {
      path: '/video',
      name: 'Video',
      component: Video
    },
    {
      path: '/upload',
      name: 'Upload',
      component: Upload
    },
    {
      path: '/manager',
      name: 'Manager',
      component: Manager
    }
  ]
})
